import request from '@/utils/request'

export function search(data) {
  return request({
    url: 'scenicDetail/scenicDetailSearch',
    method: 'post',
    data
  })
}
export function scenicSearch() {
    return request({
      url: 'scenicDetail/scenicSearch',
      method: 'get'
      
    })
  }
  export function addScenicDetail(data) {
    return request({
      url: 'scenicDetail/addScenicDetail',
      method: 'post',
      data
    })
  }
  
  export function del(data) {
    return request({
      url: 'scenicDetail/del',
      method: 'post',
      data
    })
  }
  export function delAll(data) {
    return request({
      url: 'scenicDetail/delAll',
      method: 'post',
      data
    })
  }